package File;

import java.io.File;
import java.io.IOException;

public class demo01 {
    public static void main(String[] args) throws IOException {
        File file=new File("D:\\gitoffer\\javaeeoflearning\\learning-javaee\\file\\maybe");
//        System.out.println(file.exists());
//        System.out.println(file.getParent());
        System.out.println(file.getName());
//        System.out.println(file.getPath());
//        System.out.println(file.getAbsolutePath());
//        System.out.println(file.getCanonicalPath());

    }


}
